package com.wf.etp.authz.exception;

/**
 * EtpException
 * 
 * @author wangfan
 * @date 2018-1-23 上午11:33:21
 */
public abstract class EtpException extends RuntimeException {
	private static final long serialVersionUID = 2413958299445359500L;
	private int code;

	public void setCode(int code) {
		this.code = code;
	}

	public int getCode() {
		return code;
	}

	public EtpException(int code, String message) {
		super(message);
		this.code = code;
	}
}
